package com.jh.paymentchannel.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name="t_ml_register")
public class MiLianRegister implements Serializable {
    private static final long serialVersionUID = 402255436749339437L;

    @Id
    @Column(name="id")
    private long id;

    @Column(name="user_id")
    private long userId;
    //结算卡卡号
    @Column(name="bank_card")
    private String bankCard;
    //商户号
    @Column(name="merchant_no")
    private String merchantNo;

    //商户号
    @Column(name="merchant_key")
    private String merchantKey;
    //商户号
    @Column(name="name")
    private String name;
    //商户号
    @Column(name="id_no")
    private String idNo;

    //借记卡费率
    @Column(name="debit_rate")
    private String debitRate;

    //代付费
    @Column(name="count_fee")
    private String countFee;

    //米联提现进件状态   0:进件被删除、1:进件被使用
    @Column(name="state")
    private String state;

    @Column(name="create_time")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getBankCard() {
        return bankCard;
    }

    public void setBankCard(String bankCard) {
        this.bankCard = bankCard;
    }

    public String getMerchantNo() {
        return merchantNo;
    }

    public void setMerchantNo(String merchantNo) {
        this.merchantNo = merchantNo;
    }

    public String getMerchantKey() {
        return merchantKey;
    }

    public void setMerchantKey(String merchantKey) {
        this.merchantKey = merchantKey;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getDebitRate() {
        return debitRate;
    }

    public void setDebitRate(String debitRate) {
        this.debitRate = debitRate;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCountFee() {
        return countFee;
    }

    public void setCountFee(String countFee) {
        this.countFee = countFee;
    }
}
